﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Sys.SqlServer.Smo.Connection.Controls
{
    [ToolboxItem(true)]
    public partial class SqlConnectionProperty : UserControl
    {
        public ConnectionString ConnectionString { get; private set; }

        public SqlConnectionProperty()
        {
            InitializeComponent();

            ConnectionString = new ConnectionString();
        }

        private void OnSqlConnectionPropertyLoad(object sender, EventArgs e)
        {
            pSqlConnection.Text = "SQL Server Connection String";
            pSqlConnection.SelectedObject = ConnectionString;
        }
    }
}
